<!--
 * @Author: zls 3292844045@qq.com
 * @Date: 2022-05-25 10:37:19
 * @LastEditors: zls 3292844045@qq.com
 * @LastEditTime: 2022-05-26 11:54:37
 * @FilePath: \CUCCL\html\female.html
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>女士新品-春夏新品-包包-围巾-服装-女鞋-古驰GUCCI中国官方网站</title>
    <link
      rel="stylesheet"
      href="https://at.alicdn.com/t/font_3418519_5teuh194lbw.css"
    />
    <link rel="stylesheet" href="../css/init_css/reset.css" />
    <link rel="stylesheet" href="../css/main_css/main.css" />
    <link rel="stylesheet" href="../css/female_cloths/female_cloths.css">
    <link rel="stylesheet" href="../css/main_css/female_sort.css" />
    <script src="https://cdn.acwing.com/static/jquery/js/jquery-3.3.1.min.js"></script>
  </head>
  <body>
    <!-- 头部部分 -->
    <header class="splice-header">
      <div class="splice-container header-transparent">
        <nav class="splice-navbar">
          <!-- logo部分 -->
          <div class="splice-navbar-top">
            <!-- 三部分, 左侧 中间 右侧 -->
            <div class="splice-navbar-left">
              <ul>
                <li>
                  <a href="">
                    <i
                      class="iconfont icon-wxbdingwei"
                      style="opacity: 0.5"
                    ></i>
                    <span>配送至：</span>
                    <span>中国大陆地区</span>
                  </a>
                  <!-- 鼠标滑过显示下方隐藏的div -->
                  <!-- <div class="splice-sub-menu splic-sub-menu-hidden">
                          <h6>网上商城</h6>
                          <p>请注意，在浏览过程中更改您的位置将会清除购物袋中的所有商品。</p>
                      </div> -->
                </li>
                <li>
                  <a href="">
                    <span>客户服务</span>
                  </a>
                </li>
                <li>
                  <a href="">
                    <i class="iconfont icon-dianhua"></i>
                    <span>400.8210.582</span>
                  </a>
                </li>
              </ul>
            </div>

            <div class="splice-navbar-right">
              <a class="login" href="../html/login.html">登录</a>
              <!-- //心愿单 -->
              <a href="" class="splice-nav-savedItems">
                <i class="iconfont icon-icon"></i>
              </a>
              <!-- 购物车 -->
              <a href="" class="shopping-cart">
                <i class="iconfont icon-gouwudai"></i>
                <span>购物车</span>
              </a>

              <!-- //搜索框 -->
              <a class="header-search"> </a>
            </div>
            <div class="splice-navbar-logo">
              <a href="https://www.gucci.cn/zh/">
                <img
                  src="https://res.gucci.cn/images/common/gucci-logo@2x.png"
                  alt="GUCCI"
                />
              </a>
            </div>
          </div>
          <!-- logo下面菜单 -->
          <div class="splice-navbar-menu">
            <ul class="splice-nav">
              <li class="splice-nav-menu">
                <a href="">
                  <span class="navtitletxt">全球资讯</span>
                </a>
                <!-- 滑过显示德部分 -->
                <div class="splice-nav-hid"></div>
              </li>
              <li class="splice-nav-menu">
                <a href="">
                  <span class="navtitletxt">手袋</span>
                </a>
                <!-- 滑过显示德部分 -->
                <div class="splice-nav-hid"></div>
              </li>
              <li class="splice-nav-menu">
                <a href="./female.html">
                  <span class="navtitletxt">女士</span>
                </a>
                <!-- 滑过显示德部分 -->
                <div class="splice-nav-hid"></div>
              </li>
              <li class="splice-nav-menu">
                <a href="">
                  <span class="navtitletxt">男士</span>
                </a>
                <!-- 滑过显示德部分 -->
                <div class="splice-nav-hid"></div>
              </li>
              <li class="splice-nav-menu">
                <a href="">
                  <span class="navtitletxt">童装</span>
                </a>
                <!-- 滑过显示德部分 -->
                <div class="splice-nav-hid"></div>
              </li>
              <li class="splice-nav-menu">
                <a href="">
                  <span class="navtitletxt">礼品</span>
                </a>
                <!-- 滑过显示德部分 -->
                <div class="splice-nav-hid"></div>
              </li>
              <li class="splice-nav-menu">
                <a href="">
                  <span class="navtitletxt">珠宝和腕表</span>
                </a>
                <!-- 滑过显示德部分 -->
                <div class="splice-nav-hid"></div>
              </li>
              <li class="splice-nav-menu">
                <a href="">
                  <span class="navtitletxt">美妆</span>
                </a>
                <!-- 滑过显示德部分 -->
                <div class="splice-nav-hid"></div>
              </li>
              <li class="splice-nav-menu">
                <a href="">
                  <span class="navtitletxt">生活和艺术</span>
                </a>
                <!-- 滑过显示德部分 -->
                <div class="splice-nav-hid"></div>
              </li>
            </ul>
          </div>
        </nav>
      </div>
    </header>

    <!-- 主体部分 -->
    <section>
      <!-- 上面的大图片 -->
      <div class="top_big_img">
        <div class="big_img">
          <img
            src="https://res.gucci.cn/resources/2022/5/2/16514946627512888_content_HeroRegularStandard_3200x1350_1649777485_HeroRegularStandard_Gucci-LOVE-PARADE-2022-063_001_Default.jpg"
            alt=""
          />
        </div>
        <div class="big_img_content">
          <h4>《古驰爱的进行曲》系列</h4>
          <h2>女士</h2>
        </div>
      </div>

      <!-- 数据库渲染的数据 -->
      <div class="sort_msg">
        <!-- <div class="one_part">
          <ul>
            <li class="one_part_left">
              <img
                src="https://res.gucci.cn/resources/2022/5/2/16514946627513744_content_LightGray_CategoryDoubleVertical_Standard_926x1852_1650551406_CategoryDoubleVertical_LP-Look-60_001_Light.jpg"
                alt=""
              />
              <h3>女士服饰</h3>
            </li>
            <li class="one_part_right_top">
              <img
                src="https://res.gucci.cn/resources/2022/5/2/16514946627516245_content_LightGray_CategorySingle_Standard_1200x1200_1650551426_CategorySingle_678843UULAG9682_001_Light.jpg"
                alt=""
              />
              <h3>手袋</h3>
            </li>
            <li class="one_part_right_bottom">
              <img
                src="https://res.gucci.cn/resources/2022/3/15/16473251841472996.png"
                alt=""
              />
              <h3>女鞋</h3>
            </li>
          </ul>
        </div> -->
        <!-- <div class="two_part">
          <ul>
            <li class="wacth">
              <img
                src="https://res.gucci.cn/resources/2022/5/2/16514946627519741_content_LightGray_CategoryOneThird_Standard_800x800_1608034504_CategoryOneThird_652728I86008740_001_Light.jpg"
                alt=""
              />
              <h3>腕表</h3>
            </li>
            <li class="jewelry">
              <img
                src="https://res.gucci.cn/resources/2022/5/2/16514946627512776_content_LightGray_CategoryOneThird_Standard_800x800_1650551411_CategoryOneThird_675758I46008005_001_Light.jpg"
                alt=""
              />
              <h3>珠宝</h3>
            </li>
            <li class="sunglasses">
              <img
                src="https://res.gucci.cn/resources/2022/5/2/16514946627513669_content_LightGray_CategoryOneThird_Standard_800x800_1650551414_CategoryOneThird_705388I33308012_001_Light.jpg"
                alt=""
              />
              <h3 class="glass">太阳眼睛</h3>
            </li>
          </ul>
        </div>
        <div class="three_part">
          <ul>
            <li class="wallet">
              <img
                src="https://res.gucci.cn/resources/2022/5/2/16514946627513761_content_LightGray_CategorySingle_Standard_1200x1200_1650551418_CategorySingle_523155UULAG9682_001_Light.jpg"
                alt=""
              />
              <h3 class="title_wallet">钱包&小皮件</h3>
            </li>
            <li class="blet">
              <img
                src="https://res.gucci.cn/resources/2022/5/2/16514946627511683_content_LightGray_CategorySingle_Standard_1200x1200_1650551419_CategorySingle_625839UULBC9683_001_Light.jpg"
                alt=""
              />
              <h3 class="title_blet">腰带</h3>
            </li>
          </ul>
        </div> -->
      </div>
    
    </section>

    <!-- 尾部 -->
    <footer class="splice_footer">
      <!-- 尾部主体 -->
      <div class="splice_container">
        <!-- 返回顶部 -->
        <div class="splice_back_top">
          <i class="iconfont icon-xiangshangjiantou"></i>
        </div>
        <!-- 尾部内容 -->
        <div class="splice_footer_content">
          <!-- 左边 -->
          <div class="splice_footer_left">
            <ul>
              <!-- 免费服务 -->
              <li class="spice_exclusive_service">
                <div class="spice_footer_title">
                  <span>专属服务</span>
                </div>
                <ul class="spice_all">
                  <li><span>免费标准配送</span></li>
                  <li><span>免费礼品包装</span></li>
                  <li><span>预约门店服务</span></li>
                </ul>
              </li>
              <!-- 购买帮助 -->
              <li class="spice_shoping_help">
                <div class="spice_footer_title">
                  <span>购物帮忙</span>
                </div>
                <ul>
                  <li>
                    <a href="">
                      <span>支付相关</span>
                    </a>
                  </li>
                  <li>
                    <a href="">
                      <span>配送</span>
                    </a>
                  </li>
                  <li>
                    <a href="">
                      <span>退换货</span>
                    </a>
                  </li>
                  <li>
                    <a href="">
                      <span>发票</span>
                    </a>
                  </li>
                  <li>
                    <a href="">
                      <span>保养与维修</span>
                    </a>
                  </li>
                </ul>
              </li>
              <!-- 关于公司 -->
              <li class="spice_about_company">
                <div class="spice_footer_title">
                  <span>关于公司</span>
                </div>

                <ul>
                  <li>
                    <a href="">
                      <span>关于GUCCI</span>
                    </a>
                  </li>
                  <li>
                    <a href="">
                      <span>GUCCI EQUILIBRIUM</span>
                    </a>
                  </li>
                  <li>
                    <a href="">
                      <span>道德规范</span>
                    </a>
                  </li>
                  <li>
                    <a href="">
                      <span>职业发展</span>
                    </a>
                  </li>
                  <li>
                    <a href="">
                      <span>细则及条款</span>
                    </a>
                  </li>
                  <li>
                    <a href="">
                      <span>隐私与COOKIE</span>
                    </a>
                  </li>
                  <li>
                    <a href="">
                      <span>企业信息</span>
                    </a>
                  </li>
                </ul>
              </li>
              <!-- 联系方式 -->
              <li class="spice_follow_gucci">
                <div class="spice_footer_title">
                  <span>关注GUCCI</span>
                </div>
                <ul>
                  <li>
                    <a href="">
                      <span>微信</span>
                    </a>
                  </li>
                  <li>
                    <a href="">
                      <span>微博</span>
                    </a>
                  </li>
                  <li>
                    <a href="">
                      <span>抖音</span>
                    </a>
                  </li>
                  <li>
                    <a href="">
                      <span>腾讯视频</span>
                    </a>
                  </li>
                  <li>
                    <a href="">
                      <span>小红书</span>
                    </a>
                  </li>

                  <li class="slice_footer_tails">
                    <a href="">
                      <span>在线顾问</span>
                    </a>
                  </li>
                  <li class="slice_footer_tails">
                    <a href="">
                      <span>400.8210.582</span>
                    </a>
                  </li>
                </ul>
              </li>
              <!-- 需要帮助 -->
              <li class="spice_need_help">
                <div class="spice_footer_title">
                  <span>需要帮助?</span>
                </div>
                <ul>
                  <li>
                    <a href="">
                      <span>联系我们</span>
                    </a>
                  </li>
                  <li>
                    <a href="">
                      <span>常见问题</span>
                    </a>
                  </li>
                </ul>
              </li>
            </ul>
          </div>
          <!-- 右边 -->
          <div class="splice_footer_right">
            <div class="splice_footer_right_content">
              <div class="spice_form_group">
                <div class="spice_form_title">订阅GUCCI电子资讯</div>
                <div class="spice_form_content">
                  <p class="spice_form_info">
                    通过订阅，即代表您接受GUCCI的
                    <a href=""> 隐私政策条款 </a>
                  </p>
                  <div class="spice_form_input">
                    <input
                      type="text"
                      name=""
                      id=""
                      placeholder="电子邮件地址"
                    />
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </footer>

    <script src="../js/api.js"></script>
    <script>
      // 获取标签对象
      // 标题部分
      const $splice_nav = $(".splice-container");
      $splice_nav.on("mouseover", () => {
        $splice_nav.addClass("_bgactive");
      });

      $splice_nav.on("mouseout", () => {
        $splice_nav.removeClass("_bgactive");
      });
      // 鼠标滚动收起
      $(window).scroll(() => {
        // console.log();
        if ($(document).scrollTop() >= 20) {
          // console.log(1);
          $(".splice-container").removeClass("header-transparent");
          $(".splice-container").addClass("_compressed ");
        } else {
          $(".splice-container").removeClass("_compressed ");
          $(".splice-container").addClass("header-transparent");
        }
      });

      // 渲染生成数据
      let add_msg = async () => {
        let html = "";
        let html1 = "";
        let html2 = "";
        let html3 = "";
        let res = await human_sort({
          // 性别
          gender: "女",
        });
        console.log(res["list"][0]);
        res["list"].forEach((v, i) => {
          if (v["sort_part"] === "one") {
          }
        });

        html += `
        <div class="one_part">
          <a href="./female_cloths.html">
            <ul>
              <li class="one_part_left">
                <img src=${res['list'][0]['sort_img']} alt="">
                <h3>${res['list'][0]['sort_name']}</h3>
              </li>
              <li class="one_part_right_top">
                <img src="${res['list'][1]['sort_img']}" alt="">
                <h3>
                  ${res['list'][1]['sort_name']}
                </h3>
              </li>
              <li class="one_part_right_bottom">
                <img src=${res['list'][2]['sort_img']} alt="">
                  <h3>${res['list'][2]['sort_name']}</h3>
              </li>
            </ul>
          </a>
        
        </div>
        <div class="two_part">
          <ul>
            <li class="wacth">
              <img
                src=${res['list'][3]['sort_img']}
                alt=""
              />
              <h3>${res['list'][3]['sort_name']}</h3>
            </li>
            <li class="jewelry">
              <img
                src=${res['list'][4]['sort_img']}
                alt=""
              />
              <h3>${res['list'][4]['sort_name']}</h3>
            </li>
            <li class="sunglasses">
              <img
                src=${res['list'][5]['sort_img']}
                alt=""
              />
              <h3 class="glass">${res['list'][5]['sort_name']}</h3>
            </li>
          </ul>
        </div>
        <div class="three_part">
          <ul>
            <li class="wallet">
              <img
                src=${res['list'][6]['sort_img']}
                alt=""
              />
              <h3 class="title_wallet">${res['list'][6]['sort_name']}</h3>
            </li>
            <li class="blet">
              <img
                src=${res['list'][7]['sort_img']}
                alt=""
              />
              <h3 class="title_blet">${res['list'][7]['sort_name']}</h3>
            </li>
          </ul>
        </div>
        `;
        $('.sort_msg').html(html);
        // console.log(html);
      };

      add_msg();

      let login_user = localStorage.getItem('LOGIN_NAME');
      if(login_user){
        $('.login').html('我的账户');
        // $('.login').attr('href',  "../html/login.html");
      }else{
        $('.login').attr('href',  "../html/login.html");
      }
    </script>
  </body>
</html>
